<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>个人中心</title>
    <#include "/header.html">
    <script src="${request.contextPath}/statics/libs/bootstrapValidator.js"></script>
</head>
<body>
    <div class="outer" id="app">
    <nav class="navbar navbar-inverse navbar-static-top">
        <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="/modules/senic/senicuserview.html" style="display: flex; align-items: center;">
                <img alt="Brand" src="/statics/img/icon.png" height="30px">
                <div id="siteTitle">&nbsp;协游网</div>
            </a>
        </div>
        <div style="float: right;">
            <a v-if="authStatus" class="navbar-brand" href="../../login.html">
                登录
            </a>
            <a v-else class="navbar-brand" href="../../logout">
                退出登录
            </a>
        </div>
        <div style="float: right;">
            <a class="navbar-brand" href="#">
                个人中心
            </a>
        </div>
        </div>
    </nav>
    <div class="container mainter">
        <div class="row" style="border-radius: 10px;background-color: white;">
            <form class="form-horizontal" id="appForm">
                <div class="form-group">
                    <div class="col-sm-2 control-label">用户名</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" v-model="user.username" placeholder="登录账号" readonly/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">密码</div>
                    <div class="col-sm-10">
                        <input type="text" name="password"class="form-control" v-model="user.password" placeholder="密码"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">邮箱</div>
                    <div class="col-sm-10">
                        <input type="text" name="email" class="form-control" v-model="user.email" placeholder="邮箱"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">手机号</div>
                    <div class="col-sm-10">
                        <input type="text" name="phone" class="form-control" v-model="user.mobile" placeholder="手机号" />
                    </div>
                </div> 
                <div class="form-group">
                    <div class="col-sm-2 control-label"></div>
                    <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定修改"/>
                </div>
            </form>
        </div>
        <div class="row" style="border: none; width: 60%;">
            <div class="row" style="border-radius: 10px;background-color: white;margin-top: 10px;">
                <div class="col-md-12"><h2>我的评价</h2></div>            
                <div class="col-md-12">
                    <div v-for="item in scoreList" class="row" style="display: flex;align-items: center;border-bottom: #a3a1a1 1px solid;">
                        <div class="col-md-3"> <Img src="/statics/img/icon.png" style="border-radius: 60%;margin-left: 20px;"></Img>:<p><b>&nbsp;{{item.senicName}}&nbsp;</b></p></div>
                        <div class="col-md-7">{{ item.senicEvaluate}}</div>
                        <div class="col-md-2">
                            <p>评分 {{ item.senicScore }}</p> 
                            <p>{{ getTime(item.createTime) }}</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
</body>
<script>


</script>
<script src="${request.contextPath}/statics/js/modules/senic/senicuserhome.js?_${.now?long}"></script>
</html>